package com.egao.common.module.notice.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.egao.common.module.notice.entity.NoticeRecord;
import com.egao.common.module.notice.mapper.NoticeRecordMapper;
import com.egao.common.module.notice.service.NoticeRecordService;
import com.egao.common.module.notice.utils.NoticeRecordExport;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * NoticeRecord service impl
 * @author root
 */
@Service
public class NoticeRecordServiceImpl extends ServiceImpl<NoticeRecordMapper, NoticeRecord> implements NoticeRecordService {

    @Override
    public List<NoticeRecordExport> exportList(Integer noticeId) {
        return baseMapper.exportList(noticeId);
    }
}
